package com.qf.demo;

/**
 * projectName: Demo1
 *
 * @author dongshihao
 * Date:2021/9/22   16:07
 * description:  队列
 */
public class Demo06 {


    static class ArrayQueue<T> implements Queue<T>{


        private Object [] elementData;

        @Override
        public T pop() {
            return null;
        }

        @Override
        public boolean push(T object) {
            return false;
        }
    }

    interface Queue<T>{
        T pop();
        boolean push(T object);
    }

}
